package com.qiyu.tech.im.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 聊天列表记录 （点对点聊天）
 *
 * @Author linhao
 * @Date created in 3:05 下午 2021/4/13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_chat_list_record")
public class ChatListRecord {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String chatLogNo;
    /**
     * 主动发起联系的一方
     */
    private Long memberId;

    private Long objectId;

    private String recentTalkContent;

    private Integer showStatus;

    private Date createTime;

    private Date updateTime;

}
